package com.richfit.cuba.modular.lsms.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alan
 * @since 2018-11-14
 */
@TableName("safe_report")
public class SafeReport extends Model<SafeReport> {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private String id;
    /**
     * Scan business name
     */
    @TableField("BUSSINESS_DATE")
    private Date businessDate;
    /**
     * Business Table Name
     */
    @TableField("BUSSINESS_TABLE")
    private String bussinessTable;
    /**
     * Table Data Total
     */
    @TableField("TABLE_DATA_TOTAL")
    private long tableDataTotal;
    /**
     * ENTRYPTED NUMBER
     */
    @TableField("CURRENT_SCAN_DATA_COUNT")
    private long currentScanDataCount;
    
    @TableField("CREATE_DATE")
    private Date createDate;
    
    @TableField("UPDATE_DATE")
    private Date updateDate;

    public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getBusinessDate() {
		return businessDate;
	}

	public void setBusinessDate(Date businessDate) {
		this.businessDate = businessDate;
	}

	public String getBussinessTable() {
		return bussinessTable;
	}

	public void setBussinessTable(String bussinessTable) {
		this.bussinessTable = bussinessTable;
	}

	public long getTableDataTotal() {
		return tableDataTotal;
	}

	public void setTableDataTotal(long tableDataTotal) {
		this.tableDataTotal = tableDataTotal;
	}

	public long getCurrentScanDataCount() {
		return currentScanDataCount;
	}

	public void setCurrentScanDataCount(long currentScanDataCount) {
		this.currentScanDataCount = currentScanDataCount;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	@Override
    protected Serializable pkVal() {
        return this.id;
    }

	@Override
	public String toString() {
		return "SafeReport [id=" + id + ", businessDate=" + businessDate + ", bussinessTable=" + bussinessTable
				+ ", tableDataTotal=" + tableDataTotal + ", currentScanDataCount=" + currentScanDataCount
				+ ", createDate=" + createDate + ", updateDate=" + updateDate + "]";
	}

}
